package lab7.com.acme;

public class Arrays {
	public static void main(String[] args) {
		int[] array=new int[5];
		System.out.println(array[2]);
		for (int i = 0; i < array.length; i++) {
			array[i]=i+1;
		}
		System.out.println(array.length);
		
		System.out.println(array[6]); //IndexOutOfBoundsException because array's length only 5 elements
		
		
	}

}
